package org.fei.demo.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class MqMsg implements Serializable {
    private static final long serialVersionUID = 7746690772563200502L;
    private String name;
    private BigDecimal amount;
    private Date birthDate;
    private Integer age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "MqMsg{" +
                "name='" + name + '\'' +
                ", amount=" + amount +
                ", birthDate=" + birthDate +
                ", age=" + age +
                '}';
    }
}
